package cn.iocoder.yudao.module.project.controller.admin.productioncode.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
public class RealtimeProductVO {
    @Schema(description = "产品编号", example = "芋艿")
    private String productCode;

    @Schema(description = "产品名称", example = "芋艿")
    private String productName;

    @Schema(description = "内码编号")
    private String internalCode;

    @Schema(description = "订单编号", example = "芋艿")
    private String orderCode;

    @Schema(description = "成品型号", example = "芋艿")
    private String type;

    @Schema(description = "重量", example = "芋艿")
    private Double weight;

    @Schema(description = "重量状态(0:正常:1过轻,2:过重)", example = "2")
    private Integer weightStatus;
    private String weightStatusStr;

    @Schema(description = "刚性测试", example = "芋艿")
    private String rigidity;

    @Schema(description = "平衡测试")
    private String balance;

    @Schema(description = "生产时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh_CN",timezone = "GMT+8")
    private Date productTime;

    @Schema(description = "操作员", example = "芋艿")
    private String operator;

}
